<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>编辑分类</title>
    <link rel="stylesheet" href="__ACSS__/table.css">
</head>
<body>
    <div class="table-wrap">
        <div class="table-main">
            <div class="ibox-title">
                <h3>编辑分类<small>&nbsp;&nbsp;下方填写数据均不能为空</small></h3>
            </div>
            <div class="ibox-content">  
                <form action="{:url('admin/game/updateCate', ['id'=>$cid])}" class="form-main" method="post" enctype=multipart/form-data>
                    <div class="form-group">
                        <ul> 
                            <li>
                                <span class="form-title">分类名</span>
                                <input class="form-text form-lower" type="text"  name="cateName" value="{$cate.cateName}">
                            </li> 
                            <li>
                                <span class="form-title">是否开启</span>
                                <label class="form-radio">
                                    <input type="radio" name="cStatus" value="0" {if condition="($cate.cStatus eq 0)"} checked {/if} >开启
                                </label>
                                <label class="form-radio">
                                    <input type="radio" name="cStatus" value="1"{if condition="($cate.cStatus eq 1)"} checked {/if} >关闭
                                </label>
                            </li>
                            <li>
                                <span class="form-title"></span>
                                <input class="form-submit-btn" type="submit" value="提交">
                                <a href="{:url('admin/game/cate')}" class="form-back-btn"  name="">返回</a>
                            </li>
                        </ul>
                    </div>
                </form>
            </div>
        </div>
    </div>

</body>
</html>